﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KullaniciGirisBilgileri.ascx.cs"
    Inherits="HPDMAS.UserControls.KullaniciGirisBilgileri" %>
<asp:DetailsView ID="dvKullaniciGirisBilgileri" runat="server" AutoGenerateRows="False" Style="padding: 10px;
    margin-right: 1px;" OnModeChanging="dvKullaniciGirisBilgileri_ModeChanging" ViewStateMode="Disabled" class="form-actions"
    EmptyDataText="Daha önceden giriş yapılmamış." DataKeyNames="KullaniciID" OnDataBound="dvKullaniciGirisBilgileri_DataBound"
    OnItemUpdating="dvKullaniciGirisBilgileri_ItemUpdating" Width="50%" CellPadding="4" 
    ForeColor="#333333" GridLines="None">
    <AlternatingRowStyle BackColor="White" />
    <CommandRowStyle BackColor="#D1DDF1" Font-Bold="True" />
    <EditRowStyle BackColor="#2461BF" />
    <FieldHeaderStyle BackColor="#DEE8F5" Font-Bold="True" />
    <Fields>
        <asp:TemplateField>
            <ItemTemplate>
                <tr>
                    <td align="right"  Width="200px">
                        <b>Lisans No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciLisansNo") %>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Parola : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciParola")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Şehir : </b>
                    </td>
                    <td>
                        <%# Eval("Sehir.SehirAdi") %>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Klasman : </b>
                    </td>
                    <td>
                        <%# Eval("Klasman.KlasmanAdi") %>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıt Tarihi : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciKayitTarihi", "{0:d}") %>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Dernek Üyesi mi? : </b>
                    </td>
                    <td>
                        <asp:CheckBox runat="server" Checked='<%# Eval("KullaniciDernekUyesiMi")%>' ID="chbKullaniciDernekUyesiMi"
                            Enabled="false"></asp:CheckBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>İHK Üyesi mi? : </b>
                    </td>
                    <td>
                        <asp:CheckBox runat="server" Checked='<%# Eval("KullaniciIlHakemKuruluUyesiMi")%>'
                            ID="chbKullaniciIlHakemKuruluUyesiMi" Enabled="false"></asp:CheckBox>
                    </td>
                </tr>
            </ItemTemplate>
            <EditItemTemplate>
                <tr>
                    <td align="right" Width="200px">
                        <b>Lisans No : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtLisansNo" runat="server" MaxLength="5" Width="160px"
                            Text='<%# Eval("KullaniciLisansNo") %>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Parola : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtParola" runat="server" Text='<%# Eval("KullaniciParola")%>'
                            MaxLength="10" Width="160px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Şehir : </b>
                    </td>
                    <td>
                        <asp:DropDownList CssClass="ddlKullaniciKayit" ID="ddlSehir" runat="server" Height="30px"
                            Width="165px" AppendDataBoundItems="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Klasman : </b>
                    </td>
                    <td>
                        <asp:DropDownList CssClass="ddlKullaniciKayit" ID="ddlKlasman" runat="server" Height="30px"
                            AppendDataBoundItems="True" Width="165px">
                        </asp:DropDownList>
                    </td>
                </tr>
            </EditItemTemplate>
        </asp:TemplateField>
        <asp:CommandField EditText="Düzenle" ShowEditButton="True" CancelText="Vazgeç" DeleteText="Sil"
            InsertText="Ekle" NewText="Yeni" SelectText="Seç" UpdateText="Güncelle" ButtonType="Button"  />
    </Fields>
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#EFF3FB" />
</asp:DetailsView>
